<?xml version="1.0" encoding="utf-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$UI/system/components/justep/window/window"
  design="device:m;">  
  <div component="$UI/system/components/justep/model/model" xid="model" style="height:auto;top:446px;left:298px;"> 
    <div component="$UI/system/components/justep/data/data" autoLoad="true"
      xid="wxPublicData" idColumn="id" autoNew="false" onCustomRefresh="wxPublicDataCustomRefresh"> 
      <column label="ID" name="id" type="String" xid="xid1"/>  
      <column label="key" name="fkey" type="String" xid="xid2"/>  
      <column label="value" name="fvalue" type="String" xid="xid3"/>  
      <column label="label" name="flabel" type="String" xid="xid4"/>  
      <column label="group" name="fgroup" type="String" xid="xid5"/>  
      <column label="issecure" name="issecure" type="String" xid="xid6"/>  
      <data xid="default1">[]</data>
    </div> 
  </div>  
  <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
    xid="panel1"> 
    <div class="x-panel-content" xid="content1"> 
      <div component="$UI/system/components/justep/controlGroup/controlGroup"
        class="x-control-group" xid="controlGroup1"> 
        <div component="$UI/system/components/justep/list/list" class="x-list"
          xid="list1" data="wxPublicData" style="width:70%;"> 
          <ul class="x-list-template" xid="listTemplateUl1"> 
            <li xid="li1" bind-visible='val("fkey") != "com.qq.weixin.mp.orderby"'>
              <div component="$UI/system/components/justep/labelEdit/labelEdit"
                class="x-label-edit x-label50" xid="labelEdit1" bind-if='val("fkey") != "com.qq.weixin.mp.pay.apiClientCertPath"'> 
                <label class="x-label" xid="label1" bind-text="val(&quot;flabel&quot;)" style="width:30%;"/>  
                <input component="$UI/system/components/justep/input/input" class="form-control x-edit"
                  xid="input1" bind-ref="ref(&quot;fvalue&quot;)"/>
              </div>
            <div component="$UI/system/components/justep/row/row" class="x-row" xid="row2" bind-if='val("fkey")  == "com.qq.weixin.mp.pay.apiClientCertPath"' style="padding:0;">
   <div class="x-col fontLabel" xid="col4">
    <div component="$UI/system/components/justep/output/output" class="x-output" xid="output1" bind-ref='val("flabel")' style="padding-top:22px;"></div></div> 
   <div class="x-col" xid="col5">
    <div  component="$UI/system/components/justep/attachment/attachmentSimple" preSignMode="true" xid="attachmentSimple2" bind-ref="ref('fvalue')">
     <div class="x-attachment" xid="div12">
      <div class="x-attachment-content x-card-border" xid="div13">
       <div class="x-doc-process" xid="div14">
        <div class="progress-bar x-doc-process-bar" role="progressbar" style="width:0%;" xid="progressBar2"></div></div> 
       <div data-bind="foreach:$attachmentItems" xid="div15">
        <div class="x-attachment-cell" xid="div16">
         <div class="x-attachment-item x-item-other" data-bind="click:$model.previewOrRemoveItem.bind($model),style:{backgroundImage:($model.previewPicture.bind($model,$object))()}" xid="div17">
          <a data-bind="visible:$model.$state.get() == 'remove'" class="x-remove-barget" xid="a2"></a></div> </div> </div> 
       <div class="x-attachment-cell" data-bind="visible:$state.get() == 'upload'" xid="div18">
        <div class="x-attachment-item x-item-upload" data-bind="visible:$state.get() == 'upload'" xid="div19"></div></div> 
       <div class="x-attachment-cell" data-bind="visible:$state.get() == 'upload' &amp;&amp; $attachmentItems.get().length &gt; 0" xid="div20">
        <div class="x-attachment-item x-item-remove" data-bind="click:changeState.bind($object,'remove')" xid="div21"></div></div> 
       <div style="clear:both;" xid="div22"></div></div> </div> </div> </div> </div></li>
          </ul> 
        </div>
      </div>  
      <div component="$UI/system/components/justep/toolBar/toolBar" class="x-toolbar form-inline x-toolbar-spliter"
        xid="toolBar1" style="width:70%;"> 
        <a component="$UI/system/components/justep/button/button" class="btn btn-primary"
          label="保存配置" xid="saveBtn" onClick="saveBtnClick"> 
          <i xid="icon1"/>  
          <span xid="span2">保存配置</span> 
        </a> 
      </div> 
    </div> 
  </div> 
</div>
